package com.mofeng.myshop.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mofeng.myshop.domain.po.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 网站基础设置
 * </p>
 *
 * @author MoFeng
 * @since 2024-04-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_setting")
@Schema(name="Setting对象", description="网站基础设置")
public class Setting extends BaseEntity {
    @Schema(description= "键")
    @TableField("`key_`")
    private String key;

    @Schema(description= "值")
    @TableField("`value_`")
    private String value;

    @Schema(description= "类型 text 文本类型    numText 数字文本  image 图片  select 选择框   option 单选框")
    @TableField("`type_`")
    private String type;
}
